﻿using System.Collections.Generic;
//
namespace PerceptiveMCAPI.Types
{
   public class listBatchUnsubscribeParms
   {
      public string apikey { get; set; }
      public string id { get; set; }
      public List<string> emails { get; set; }
      public bool delete_member { get; set; }
      public bool send_goodbye { get; set; }
      public bool send_notify { get; set; }
      // -------------------------------------------------
      public listBatchUnsubscribeParms()
      {
         this.apikey = MCAPISettings.default_apikey;
         emails = new List<string>();
         this.delete_member = MCAPISettings.default_listUnsubscribe_delete_member;
         this.send_goodbye = MCAPISettings.default_listUnsubscribe_send_goodbye;
         this.send_notify = MCAPISettings.default_listUnsubscribe_send_notify;
      }

      public listBatchUnsubscribeParms( string id, List<string> emails )
      {
         this.apikey = MCAPISettings.default_apikey;
         this.id = id;
         this.emails = emails;
         this.delete_member = MCAPISettings.default_listUnsubscribe_delete_member;
         this.send_goodbye = MCAPISettings.default_listUnsubscribe_send_goodbye;
         this.send_notify = MCAPISettings.default_listUnsubscribe_send_notify;
      }

      public listBatchUnsubscribeParms( string id, List<string> emails,
         bool delete_member, bool send_goodbye, bool send_notify )
      {
         this.apikey = MCAPISettings.default_apikey;
         this.id = id;
         this.emails = emails;
         this.delete_member = delete_member;
         this.send_goodbye = send_goodbye;
         this.send_notify = send_notify;
      }

      public listBatchUnsubscribeParms( string apikey, string id, List<string> emails )
      {
         this.apikey = apikey;
         this.id = id;
         this.emails = emails;
         this.delete_member = MCAPISettings.default_listUnsubscribe_delete_member;
         this.send_goodbye = MCAPISettings.default_listUnsubscribe_send_goodbye;
         this.send_notify = MCAPISettings.default_listUnsubscribe_send_notify;
      }

      public listBatchUnsubscribeParms( string apikey, string id, List<string> emails,
         bool delete_member, bool send_goodbye, bool send_notify )
      {
         this.apikey = apikey;
         this.id = id;
         this.emails = emails;
         this.delete_member = delete_member;
         this.send_goodbye = send_goodbye;
         this.send_notify = send_notify;
      }



   }
}
